var ioc = {
	conf : {
		type : "org.nutz.ioc.impl.PropertiesProxy",
		fields : {
			paths : [ "custom/db.properties" , "custom/tenpay.properties" , "custom/weixin.properties"]
		}
	},
	mysqlDataSource : {
		type : "com.alibaba.druid.pool.DruidDataSource",
		events : {
			create : "init",
			depose : 'close'
		},
		fields : {
			url : {java:"$conf.get('db.mysql.url')"},
			username : {java:"$conf.get('db.mysql.username')"},
			password : {java:"$conf.get('db.mysql.password')"},
			maxActive : {java:"$conf.get('db.mysql.maxActive')"}
		}
	},
	dao : {
		type : "org.nutz.dao.impl.NutDao",
		args : [ {
			refer : "mysqlDataSource"
		} ]
	},
	cacheManager : {
        type : "net.sf.ehcache.CacheManager",
        factory : "net.sf.ehcache.CacheManager#create"
    }
};